package com.huawei.appgallery.forum.user.usercenter.bean;

import com.huawei.appgallery.forum.base.card.ForumCardBean;
import com.huawei.appgallery.forum.base.card.bean.CommentReference;
import com.huawei.appgallery.forum.base.card.bean.Post;
import com.huawei.appgallery.forum.base.card.bean.User;

public class ForumCommentCardBean extends ForumCardBean {
    public static final int LIKE_ACTIVED = 1;
    public static final int LIKE_UNACTIVED = 0;
    private Post comment_;
    private boolean isOpend = false;
    private int like_;
    private CommentReference reference_;
    private int sectionId_;
    private int type_;
    private User user_;

    public int ˊ() {
        return this.sectionId_;
    }

    public boolean ᐝ() {
        return this.like_ == 1;
    }

    public boolean ʼ() {
        return this.isOpend;
    }

    public void ˋ(boolean z) {
        this.isOpend = z;
    }

    public User ʽ() {
        return this.user_;
    }

    public Post ˊॱ() {
        return this.comment_;
    }

    public void ˎ(int i) {
        this.like_ = i;
    }

    public CommentReference ͺ() {
        return this.reference_;
    }

    public int ˋॱ() {
        return this.type_;
    }

    public String ˋ() {
        if (this.comment_ != null) {
            return this.comment_.ˋॱ();
        }
        return super.ˋ();
    }
}
